package com.yida.gwj.expend.outside.domain.dto;

import com.yida.common.core.web.page.TableDataInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * 决算费用分摊清册dto
 *
 * @author wkz
 * @date 2023/03/29
 */
@ApiModel(description = "决算费用分摊清册dto")
public class TotalCostShareListDTO {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "小区名称")
    private String communityName;
    /**
     * 维修项目(weixiuxiangmu)
     */
    @ApiModelProperty(value = "维修项目(weixiuxiangmu)")
    private String maintenanceItems;

    /**
     * 决算总金额(juesuanzongjine)
     */
    @ApiModelProperty("工程决算金额(应急那边对应工程预算)")
    private BigDecimal totalSettlementAmount;

    @ApiModelProperty(value = "申请单位全称(shenqingdanwei_quancheng)")
    private String applicationUnitName;

    /**
     * 保存时间
     */
    @ApiModelProperty(value = "保存时间")
    private LocalDate saveTime;

    @ApiModelProperty("文件id")
    private Long attachmentId;

    @ApiModelProperty(value = "分摊清册列表")
    private TableDataInfo tableDataInfo;

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getMaintenanceItems() {
        return maintenanceItems;
    }

    public void setMaintenanceItems(String maintenanceItems) {
        this.maintenanceItems = maintenanceItems;
    }

    public BigDecimal getTotalSettlementAmount() {
        return totalSettlementAmount;
    }

    public void setTotalSettlementAmount(BigDecimal totalSettlementAmount) {
        this.totalSettlementAmount = totalSettlementAmount;
    }

    public String getApplicationUnitName() {
        return applicationUnitName;
    }

    public void setApplicationUnitName(String applicationUnitName) {
        this.applicationUnitName = applicationUnitName;
    }

    public LocalDate getSaveTime() {
        return saveTime;
    }

    public void setSaveTime(LocalDate saveTime) {
        this.saveTime = saveTime;
    }

    public Long getAttachmentId() {
        return attachmentId;
    }

    public void setAttachmentId(Long attachmentId) {
        this.attachmentId = attachmentId;
    }

    public TableDataInfo getTableDataInfo() {
        return tableDataInfo;
    }

    public void setTableDataInfo(TableDataInfo tableDataInfo) {
        this.tableDataInfo = tableDataInfo;
    }

    @Override
    public String toString() {
        return "TotalCostShareListDTO{" +
                "communityName='" + communityName + '\'' +
                ", maintenanceItems='" + maintenanceItems + '\'' +
                ", totalSettlementAmount=" + totalSettlementAmount +
                ", applicationUnitName='" + applicationUnitName + '\'' +
                ", saveTime=" + saveTime +
                ", attachmentId=" + attachmentId +
                ", tableDataInfo=" + tableDataInfo +
                '}';
    }
}
